package com.ruoyi.web.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ApiModel("政策法规实体类")
@TableName("policy_crawl_article")
public class PolicyCrawlArticle implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("base_id")
    private String baseId;

    /**
     * 文章标题
     */
    @TableField("article_title")
    private String articleTitle;

    /**
     * 文章标签
     */
    @TableField("content_label")
    private String contentLabel;

    /**
     * 信息来源
     */
    @TableField("info_source")
    private String infoSource;

    /**
     * 省
     **/
    @TableField("province")
    private String province;
    /**
     * 市
     **/
    @TableField("city")
    private String city;
    /**
     * 区
     **/
    @TableField("county")
    private String county;

    /**
     * 类型
     */
    @TableField("type")
    private String type;

    /**
     * 抓取时间
     */
    @TableField("create_time")
    private Date createTime;

    /**
     * 发布时间
     */
    @TableField("publish_date")
    private Date publishDate;

    /**
     * 国家/中央
     */
    @TableField("country")
    private String country;

    /**
     * 分类
     */
    @TableField("classification")
    private String classification;

    /**
     * 浏览量
     */
    @TableField("view_count")
    private Integer viewCount;
}